Use of logic connectors
AND: &&
The "and" operator is used by placing the "and" symbol,
&&, in between two boolean values.
//suppose that Fran is tired
bool franIsTired = true;
//but Fran doesn't have to wake up early
bool franMustWakeUpEarly = false;
//will Fran go to sleep now?
bool bedTime = franIsTired && franMustWakeUpEarly;